import { request } from '@/utils/request'
//提现管理当日金额
export const getTodayMoney = object => request('/admin/user/Withdrawal/getTodayData', 'post', { data: object })
//提现管理table数据
export const WithdrawalList = object => request('/admin/user/Withdrawal', 'post', { data: object })
//提现状态
export const WithdrawalStatus = object => request('/admin/user/Withdrawal/getStatus', 'post', { data: object })
//到账方式
export const PaymentMethods = object => request('/admin/user/Withdrawal/getSearchSfChannel', 'post', { data: object })

// -------------------------------------------------------------------------------------------------------------
export const withdrawalMethodAPI = id => request('admin/user/Withdrawal/getSfChannel', 'post', { data: id })
export const withdrawalOkAPI = id => request('admin/user/Withdrawal/useWithdrawal', 'post', { data: id })
export const withdrawalRejectAPI = id => request('admin/user/Withdrawal/rejectWithdrawal', 'post', { data: id })
